<template>
	<div>Page: detail03 --- {{ id }}</div>
</template>

<script setup>
	const route = useRoute()
	const { id } = route.params

	definePageMeta({
		// 路由参数的校验
		validate: (route) => {
			console.log(route.params.id)

			return {
				statusCode: 401,
				statusMessage: 'validata router error',
			}
		},
	})
</script>

<style scoped></style>
